package com.bw.service;

import com.bw.dao.GmallDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GmallServiceImp implements GmallService {
//    注入持久层
    @Autowired
    GmallDao gmallDao;

    @Override
    public List<Map> total(String newDate) {
        return gmallDao.total(newDate);
    }

    @Override
    public List<Map> baseTotal(String newDate) {
        return gmallDao.baseTotal(newDate);
    }

    @Override
    public List<Map> bingTotal(String newDate) {
        return gmallDao.bingTotal(newDate);
    }
}
